package com.qfedu.knowledge.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName RightsVO
 * @Author ykx
 * @Date 2024/4/26 21:36
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RightsVO {
    /**
     * id
     */
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 图标
     */
    private String icon;

    /**
     * 路径
     */
    private String path;

    /**
     * 父id
     */
    private Integer parentId;

    /**
     * 是否为叶子节点
     */
    private Boolean isLeaf;

    /**
     * 子菜单
     */
    private List<RightsVO> children;
}
